]> dgit.raspbian.org Git - gnome-shell.git/commit
keyboard: Ensure minimum height of the OSK always fits on screen
authorSebastian Keller <skeller@gnome.org>
Thu, 26 Mar 2026 18:29:44 +0000 (19:29 +0100)
committerSebastian Keller <skeller@gnome.org>
Thu, 26 Mar 2026 18:29:44 +0000 (19:29 +0100)
commit8723f43c22f314c27d20d0a20bb33b31833472d7
treea1a660a872125362bd2a9196818641f31d8809df
parent2c1bb8706b46f06d563cb3027e0aa0fcd41e358d
keyboard: Ensure minimum height of the OSK always fits on screen

At very low resolutions, 1/3 of the screen height might not be enough
for the minimum height of the OSK, causing some keys to get pushed out
of the screen. This now ensures the height is always at least the
minimum height, but only up to 1/2 of the screen to avoid situations
where the OSK would cover the whole screen preventing any other
interaction.

Closes: https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/9126
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/4156>
js/ui/keyboard.js